<include file="__THEME__/header" />

<link rel="stylesheet" href="../Public/poll.css" type="text/css" media="screen" charset="utf-8" />
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />
<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"> <!-- 右侧内容 begin  -->
    <div class=page_title> <!-- page_title begin -->
      <h2><img src="images/ico_app06.gif" />投票</h2>
    <div class="c"></div>
</div><!-- page_title end -->

<!--=====================好友的投票=====================-->   
  <div class="tab-menu"><!-- 切换标签 begin  -->
  		<span class="right"></span>
      <ul>
      <li><a href="#"><span>我的投票</span></a></li>
      <li><a href="#" class="on"><span>好友的投票</span></a></li>
      <li><a href="#"><span>大家的投票</span></a></li>
      <li><a href="#"><span>发起投票</span></a></li>
      </ul>
  </div><!-- 切换标签 end  -->
  <div class="pollBox">
  <div class="MenuSub"><a href="#" class="fB">全部投票</a>┊<a href="#" class="cGray">已结束的投票</a>┊<a href="#" class="cGray">我发起的投票</a></div>
  <div class="LogList">
  		<ul>
       	  <li class="bg04">
            <volist name="votes:data" id="vo">
          	<div class="box">
              <div class="left alC" style="width: 13%;"><span class="headpic50"><a href="__TS__/space/{$vo->user_id}"><img src="{$vo->user_id|getUserFace}" /></a></span><a href="#" class="U">vivi</a></div>
          		<div class="left" style="width: 67%;">
                    <h3 class="f14px"><a href="#" class="U"><strong>{$vo.tilte}</strong></a></h3>
                                                  <php>if($vo['type'] == "0"){</php>
                                                  <p><input type="radio" name="checkbox" id="checkbox" disabled="true"/></p>
                                                    <php>}else{</php>
                                                    <p><input type="checkbox" name="checkbox" id="checkbox" disabled="true"/></p>
                                                    <php>}</php>
                                                    {$opt.name}
                                                    <p><span class="right cGray2">时间：{$vo.cTime|friendlyDate}&nbsp;投票：{$vo.vote_num}</span>．．．</p>
            	</div>
                <div class="left alR" style="width: 18%;">
                  <p class="cGray2"><a href="__URL__/pollDetail/id/{$vo.id}">全部</a> ┊ <a href="#">评论(0)</a></p>
                	<br />
                    <a href="__URL__/pollDetail/id/{$vo.id}" class="btna">去投票</a>              </div>
            </div>
            </volist>
       	  </li>
        </ul>
        <div id="Pagination" class="pagination">{$html}</div>
  </div><!-- LogList end  -->
  </div>

<!--=====================大家的投票=====================-->
  <div class="tab-menu"><!-- 切换标签 begin  -->
      <ul>
      <li><a href="#"><span>我的投票</span></a></li>
      <li><a href="#"><span>好友的投票</span></a></li>
      <li><a href="#" class="on"><span>大家的投票</span></a></li>
      <li><a href="#" ><span><div class="ico_add">&nbsp;</div>发起投票</span></a></li>
      </ul>
  </div><!-- 切换标签 end  -->
  <div class="pollBox">
  <div class="MenuSub"><a href="#" class="fB">全部投票</a>┊<a href="#" class="cGray">已结束的投票</a>┊<a href="#" class="cGray">我发起的投票</a></div>
  <div class="LogList">
  		<ul>
       	  <li class="bg04">
          	<div class="box">
          		<div class="left alC" style="width: 13%;"><span class="headpic50"><a href="#"><img src="images/userimg.jpg" /></a></span><a href="#" class="U">vivi</a></div>
          		<div class="left" style="width: 67%;">
       			  	<h3 class="f14px"><a href="#" class="U"><strong>小偷和色狼你更讨厌那个</strong></a></h3>
                 	<p><input name="" type="checkbox" disabled value="" />小偷</p>
                    <p><input name="" type="checkbox" disabled value="" />色狼</p>
                	<p><span class="right cGray2">时间：1分钟前 | <a href="#">评论(9)</a></span>．．．</p>
            	</div>
                <div class="left alR" style="width: 18%;">
                	<p class="cGray2"><span class="f18px fB"><a href="#" class="cRed">22人</a></span><br />
               	  参与投票</p>
                	<br />
                    <a href="#" class="btna">去投票</a>
              </div>
            </div>
       	  </li>
          
          <li class="bg04">
          	<div class="box">
          		<div class="left alC" style="width: 13%;"><span class="headpic50"><a href="#"><img src="images/userimg.jpg" /></a></span><a href="#" class="U">vivi</a></div>
          		<div class="left" style="width: 67%;">
       			  	<h3 class="f14px"><a href="#" class="U"><strong>小偷和色狼你更讨厌那个</strong></a></h3>
                 	<p><input name="" type="checkbox" disabled value="" />小偷</p>
                    <p><input name="" type="checkbox" disabled value="" />色狼</p>
                	<p><span class="right cGray2">时间：1分钟前 | <a href="#">评论(9)</a></span>．．．</p>
            	</div>
                <div class="left alR" style="width: 18%;">
                	<p class="cGray2"><span class="f18px fB"><a href="#" class="cRed">22人</a></span><br />
               	  参与投票</p>
                	<br />
                    <a href="#" class="btna">去投票</a>
              </div>
            </div>
       	  </li>
          
          <li class="bg04">
          	<div class="box">
          		<div class="left alC" style="width: 13%;"><span class="headpic50"><a href="#"><img src="images/userimg.jpg" /></a></span><a href="#" class="U">vivi</a></div>
          		<div class="left" style="width: 67%;">
       			  	<h3 class="f14px"><a href="#" class="U"><strong>小偷和色狼你更讨厌那个</strong></a></h3>
                 	<p><input name="" type="checkbox" disabled value="" />小偷</p>
                    <p><input name="" type="checkbox" disabled value="" />色狼</p>
                	<p><span class="right cGray2">时间：1分钟前 | <a href="#">评论(9)</a></span>．．．</p>
            	</div>
                <div class="left alR" style="width: 18%;">
                	<p class="cGray2"><span class="f18px fB"><a href="#" class="cRed">22人</a></span><br />
               	  参与投票</p>
                	<br />
                    <a href="#" class="btna">去投票</a>
              </div>
            </div>
       	  </li>
          
          <li class="bg04">
          	<div class="box">
          		<div class="left alC" style="width: 13%;"><span class="headpic50"><a href="#"><img src="images/userimg.jpg" /></a></span><a href="#" class="U">vivi</a></div>
          		<div class="left" style="width: 67%;">
       			  	<h3 class="f14px"><a href="#" class="U"><strong>小偷和色狼你更讨厌那个</strong></a></h3>
                 	<p><input name="" type="checkbox" disabled value="" />小偷</p>
                    <p><input name="" type="checkbox" disabled value="" />色狼</p>
                	<p><span class="right cGray2">时间：1分钟前 | <a href="#">评论(9)</a></span>．．．</p>
            	</div>
                <div class="left alR" style="width: 18%;">
                	<p class="cGray2"><span class="f18px fB"><a href="#" class="cRed">22人</a></span><br />
               	  参与投票</p>
                	<br />
                    <a href="#" class="btna">去投票</a>
              </div>
            </div>
       	  </li>

        </ul>
       <div class="page"><span class="disabled"> &lt;  上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a>...<a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页  &gt;</a></div>
  </div><!-- LogList end  -->
  </div>


<!--=====================发起投票=====================-->
  <div class="pollBox">
  <div class="MenuSub"><a href="#" class="fB">全部投票</a>┊<a href="#" class="cGray">已结束的投票</a>┊<a href="#" class="cGray">我发起的投票</a></div>
  <div class="LogList">
  		<ul>
       	  <li>
          		<div class="left alR" style="width: 15%;">投票主题：</div>
       		<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/> 
       		    <a href="#">添加投票详细说明</a>       		  </div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">详细说明：</div>
          		<div class="left" style="width: 85%;"><textarea name="interest" rows="5" class="Text"  style="width:90%" onfocus="this.className='Text1';" onblur="this.className='Text';"></textarea>
          		</div>
          </li>
          <li><div class="btmlineD"></div></li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项1：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项2：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项3：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项4：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项5：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项6：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项7：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项8：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项9：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">候选项10：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" style="width:70%" onblur="this.className='TextH20'" onfocus="this.className='Text2'"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">&nbsp;</div>
       			<div class="left" style="width: 85%;"><a href="#">增加更多候选项</a></div>
          </li>
          <li><div class="btmlineD"></div></li>
          <li>
          		<div class="left alR" style="width: 15%;">可投选项：</div>
       			<div class="left" style="width: 85%;">
          		  	<select id="type" name="type">
                      <option value="0">单选</option>
                      <option value="1">可多选，最多2项</option>
                      <option value="2">可多选，最多3项</option>
                      <option value="3">可多选，最多4项</option>
                      <option value="4">可多选，最多5项</option>
                      <option value="5">可多选，最多6项</option>
                      <option value="6">可多选，最多7项</option>
                      <option value="7">可多选，最多8项</option>
                      <option value="8">可多选，最多9项</option>
                      <option value="9">可多选，最多10项</option>
                      <option value="10">可多选，最多11项</option>
                      <option value="11">可多选，最多12项</option>
                      <option value="12">可多选，最多13项</option>
                      <option value="13">可多选，最多14项</option>
                      <option value="14">可多选，最多15项</option>
                      <option value="15">可多选，最多16项</option>
                      <option value="16">可多选，最多17项</option>
                      <option value="17">可多选，最多18项</option>
                      <option value="18">可多选，最多19项</option>
                      <option value="19">可多选，最多20项</option>
                    </select>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">投票限制：</div>
       			<div class="left" style="width: 85%;">
          		  	<select id="glimit" name="glimit">
                      <option value="0">不限</option>
                      <option value="1">仅限女性</option>
                      <option value="2">仅限男性</option>
                    </select>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">截止时间：</div>
       			<div class="left" style="width: 85%;">
          		  <input name="textfield3" type="text" class="TextH20" id="textfield3" onfocus="this.className='Text2'" onblur="this.className='TextH20'" value="2009-07-01"/>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">隐私权限：</div>
       			<div class="left" style="width: 85%;">
          		  	<select id="onlyfriend" name="onlyfriend">
                      <option value="0">任何人可参与</option>
                      <option value="1">仅好友可参与</option>
                    </select>
          		</div>
          </li>
          <li>
          		<div class="left alR" style="width: 15%;">&nbsp;</div>
       			<div class="left" style="width: 85%;">
          		  <input type="button" class="btn_b" value="发起投票" />
          		</div>
          </li>

   	    </ul>
      </div>
  <!-- LogList end  -->
  </div>
  
  </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
